/* **********************************************************
 * Copyright 2010 Dimitar Vangelovski
 *
 * This file is part of the Gens3 3D Engine.
 * 
 * The Gens3 3D Engine is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 * 
 * The Gens3 3D Engine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with the Gens3 3D Engine; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA
 * **********************************************************/


#include "common.h"
#include "MeshVertexNormal.h"

CMeshVertexNormal::CMeshVertexNormal()
: x(0.0f)
, y(0.0f)
, z(0.0f)
, m_vn(0)
{
}

CMeshVertexNormal::CMeshVertexNormal(const CMeshVertexNormal &other)
{
	x = other.GetX();
	y = other.GetY();
	z = other.GetZ();
	m_vn = other.GetVertIndex();
}

CMeshVertexNormal::CMeshVertexNormal(int vn, float x2, float y2, float z2)
: x(x2)
, y(y2)
, z(z2)
, m_vn(vn)
{
}

CMeshVertexNormal::~CMeshVertexNormal()
{
}
